<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<%@taglib prefix="s" uri="/struts-tags"%>
<%
	String path = request.getContextPath();
	String basePath = request.getScheme() + "://" + request.getServerName() + ":" + request.getServerPort() + path + "/";
%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
	<head>  
		<base href="${webInfo.domain }" />
		<title>${webInfo.title}</title>
		<meta http-equiv=content-type content="text/html; charset=GBK" /> 
		<meta http-equiv="Cache-Control" content="max-age=100" />
		<meta name="keywords" content="${webInfo.keyword}" />
		<meta name="description" content="${webInfo.description}"/>
		<link rel="stylesheet" type="text/css" href="css/novel.css"/> 
	</head>
	<body>
	<CENTER>
		<div class="content clearfix">
			<!-- 头部 -->
			<jsp:include page="header.jsp"></jsp:include>
			<!-- 主体 -->
			<div class="trip-manager clearfix">
				<div class="bd clearfix">
					<!-- 超级推荐书籍 --> 
					<div class='category'>
						<c:forEach items="${indexBookList}" var="book" begin="0" step="1" varStatus="statu1">
							<div class="recommend">
								<h1><a target="_blank" href="${book.html }">${book.bookName}</a></h1> 
								<ul>
									<c:forEach items="${book.list}" var="item" begin="0" step="1" varStatus="statu">
										<li>
											<a target="_blank" href="${item.html}">${item.chapterTitle}</a>
										</li>
									</c:forEach>
								</ul>  <BR/><BR/><BR/> 
							</div>
						</c:forEach>   
					</div>
					<div> ${webInfo.indexCenter } </div>
					<!-- 滚动推荐,图片 -->
					<div class="recommend">
						<c:forEach items="${superList}" var="item" begin="0" step="1"
							varStatus="statu">
							<div class="book_Recommended">
								<div class="book_Recommended_img">
									<a target="_blank" href="${item.html }">
										<c:if test="${empty item.picPath}">
											<img alt="${item.bookName}" width="110px" height="150px" src="${webInfo.domain}/pic/default.jpg" />
										</c:if>
										<c:if test="${not empty item.picPath}">
											<img alt="${item.bookName}"  width="110px" height="150px" src="${webInfo.domain}/${item.picPath}" />
										</c:if>
									</a>
								</div>
								<div class="book_Recommended_text">
									<span class="author"> 
										<h2>
											<a target="_blank" href="${item.html }">${item.bookName}</a>
										</h2><strong> ${item.authorName }</strong>
									</span>
									<div class="Intro">
										${item.shortDescrib }
									</div>
								</div>
							</div>
						</c:forEach>
					</div> 
					<!-- ------------------------------------------------------------------------------------------- -->
					<!-- 新书.热门.推荐 -->
					<div class="recommend">  	
						<c:forEach items="${categoryList}" var="category" begin="0" step="1"  >  
							<div class="block">
								<div class="blocktitle">
									<ul>
										<li class="tit01">
											<h3>${category.cateName }</h3>
										</li>
									</ul>
								</div>
								<div class="blockcontent">
									<ul class="ultop"> 
										<c:forEach items="${category.bookList}" var="item" begin="0" step="1">
											<li>
												<a class='tb' target="_blank" href="${item.html }">
												${item.bookName }</a>
												<a class='tb' target="_blank" href="${item.html }">
												<font color='gray' size='-1'>${item.newChapter}</font>
												</a>
											</li>
										</c:forEach> 
									</ul>
								</div>
							</div>  
						</c:forEach>	
					</div> 
					 
				</div>
				<!-- / 主体 -->
				<!-- 尾部 -->
				<jsp:include page="link.jsp"></jsp:include>
				<jsp:include page="footer.jsp"></jsp:include>
				<div style="float:right;display:block;">
				本站空间由 <a href="http://www.jspkongjian.net/" target="_blank">jsp空间网</a> 提供! <div>
			</div>
			</CENTER>
	</body>
</html>
